GetMaxWriteSpeed method

Gets the max writing speed of opened drive in KB/s.

Important: This method returns the speed in Kb/s (e.g. - 1380) , not a multiplier (e.g. 12). A multiplier is not returned, because DVD and CD have different KB/s rates for their respective 1x speeds. The media type should be checked prior to getting the maximum write speed. if the media type is of a DVD format, use 1380 kb/s in the calculation to display a multiplier. If media is a CD format, use 176 kb/s in the multiplier calculation.

DVD 1x = 1380 kb/s
CD   1x = 176 kb/s

NOTE: Some drives will not return exact multiples of these constant kb/s values, so it may be necessary to round up or down for display purposes. Be sure to retain the values in kb/s as well, so the write speed can be set using kb/s.

Return Type

A Long value.

Syntax

object.GetMaxWriteSpeed

The GetMaxWriteSpeed method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterPro.